package com.ruoyi.erp.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 物料类型视图对象 base_inventory_type
 *
 * @author chenyun
 * @date 2022-03-06
 */
@Data
@ApiModel("物料类型视图对象")
@ExcelIgnoreUnannotated
public class InventoryTypeVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;

    /**
     * 编码
     */
	@ExcelProperty(value = "编码")
	@ApiModelProperty("编码")
	private String invTypeCode;

    /**
     * 名称
     */
	@ExcelProperty(value = "名称")
	@ApiModelProperty("名称")
	private String invTypeName;

    /**
     * 计价方式
     */
    @ExcelProperty(value = "计价方式", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "base_value_type")
	@ApiModelProperty("计价方式")
	private String valueType;

    /**
     * 上级类型
     */
	@ExcelProperty(value = "上级类型")
	@ApiModelProperty("上级类型")
	private Long parentId;

    /**
     * 机构
     */
	@ExcelProperty(value = "机构")
	@ApiModelProperty("机构")
	private Long orgId;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
	@ApiModelProperty("状态")
	private String status;

    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	@ApiModelProperty("备注")
	private String remark;


}
